package br.com.rhweb.modelos;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

@Entity
@Table(name = "tbl_fardamento")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class Fardamento implements Serializable{
	
	@Id
	@Column(name = "cod_fardamento", length = 6, nullable = false)
	private String matricula;
	
	@Column(name = "fardamento_camisa", length = 4, nullable = true)
	private String camisa;
	
	@Column(name = "fardamento_calca", length = 4, nullable = true)
	private String calca;
	
	@Column(name = "fardamento_sapato", length = 4, nullable = true)
	private String sapato;

	public String getMatricula() {
		return matricula;
	}

	public void setMatricula(String matricula) {
		this.matricula = matricula;
	}

	public String getCamisa() {
		return camisa;
	}

	public void setCamisa(String camisa) {
		this.camisa = camisa;
	}

	public String getCalca() {
		return calca;
	}

	public void setCalca(String calca) {
		this.calca = calca;
	}

	public String getSapato() {
		return sapato;
	}

	public void setSapato(String sapato) {
		this.sapato = sapato;
	}

	
}
